package com.mall.auth.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wuyijie
 * @description: TODO
 * @date 2021/6/28 13:51
 */
@Data
@ApiModel(value="oauth客户端对象", description="")
@AllArgsConstructor
@NoArgsConstructor
public class OauthClientDetailsVO{
        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "客户端id")
        private String clientId;

        @ApiModelProperty(value = "资源ids")
        private String resourceIds;

        @ApiModelProperty(value = "客户端密钥")
        private String clientSecret;

        @ApiModelProperty(value = "作用域")
        private String scope;

        @ApiModelProperty(value = "授权的类型")
        private String authorizedGrantTypes;

        @ApiModelProperty(value = "webserver重定向地址")
        private String webServerRedirectUri;

        @ApiModelProperty(value = "authorities")
        private String authorities;

        @ApiModelProperty(value = "访问令牌的有效性")
        private Integer accessTokenValidity;

        @ApiModelProperty(value = "刷新令牌的有效性")
        private Integer refreshTokenValidity;

        @ApiModelProperty(value = "附加信息")
        private String additionalInformation;

        @ApiModelProperty(value = "autoapprove")
        private String autoapprove;
}
